<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta name="format-detection" content="telephone=no" />
    <title>业务管理系统-系统管理-系统字典</title>
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <link rel="stylesheet" href="/css/style.css" />
    <link rel="stylesheet" href="/css/iconfont.css" />
    <link rel="stylesheet" href="/css/element-icons.css" />
    <link rel="stylesheet" href="/css/newiconfont.css" />
    <script src="/js/jquery.min.js"></script>
    <script src="/js/lib.js"></script>
    <!--[if lt IE 9]>
        <script src="https://cdn.bootcss.com/html5shiv/r29/html5.min.js"></script>
        <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!--[if IE]>
        <link rel="stylesheet" href="/css/all-ie-only.css" />
    <![endif]-->
</head>

<body>
    <div class="header">
        <a href="javascript:;" class="header-logo">
            <img src="/images/logo.png" alt="" />
        </a>
        <div class="header-nav">
            <ul class="fix">
                <li>
                    <a href="javascript:;" class="v1">标识注册系统</a>
                </li>
                <li>
                    <a href="javascript:;" class="v1">标识解析系统</a>
                </li>
                <li>
                    <a href="javascript:;" class="v1">统一认证系统</a>
                </li>
                <li>
                    <a href="javascript:;" class="v1">运行检测系统</a>
                </li>
                <li>
                    <a href="javascript:;" class="v1">区块链浏览器</a>
                </li>
                <li>
                    <a href="javascript:;" class="v1">链网展示系统</a>
                </li>
            </ul>
        </div>
        <div class="header-user">
            <a href="javascript:;" class="hd">
                <img src="/images/head.png" alt="" />
                <span>管理员</span>
            </a>
            <div class="dropdown-menu">
                <div class="icon-arrow"></div>
                <ul>
                    <li class="wrz">
                        <a href="javascript:;" class="con">
                            <span>未认证</span>
                        </a>
                    </li>
                    <li>
                        <a href="javascript:;" class="con">
                            <span>首页</span>
                        </a>
                    </li>
                    <li>
                        <a href="javascript:;" class="con">
                            <span>资料编辑</span>
                        </a>
                    </li>
                    <li>
                        <a href="javascript:;" class="con">
                            <span>我的钱包</span>
                        </a>
                    </li>
                    <li>
                       <a onclick="logout()" class="con">
                            <span>退出</span>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="block-contail">
        <!-- 布局-侧边 -->
        <div class="block-left">
            <div class="block-scrollbar">
                <!-- 收起、展开按钮 -->
                <div class="arrow-btn">
                    <span class="el-icon-arrow-left"></span>
                </div>
                <!-- 收起、展开按钮 end -->
                <!-- 侧边导航 -->
                <ul class="slide-nav">
                    <li>
                        <a href="javascript:;" class="v1">
                            <i class="icon_dn icon newiconfont newicon1-guganlianguanli"></i>
                            <span class="title">骨干链管理</span>
                            <i class="icon-arrow el-icon-arrow-down"></i>
                        </a>
                        <div class="slide-nav-subitem">
                            <ul>
                                <li>
                                    <a href="javascript:;" class="v2">
                                        <span class="title">基础配置</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="javascript:;" class="v2">
                                        <span class="title">节点管理</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="javascript:;" class="v2">
                                        <span class="title">合约管理</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="javascript:;" class="v2">
                                        <span class="title">用户管理</span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </li>
                    <li>
                        <a href="javascript:;" class="v1">
                            <i class="icon_dn icon newiconfont newicon2-zilianguanli"></i>
                            <span class="title">子链管理</span>
                            <i class="icon-arrow el-icon-arrow-down"></i>
                        </a>
                        <div class="slide-nav-subitem">
                            <ul>
                                <li>
                                    <a href="javascript:;" class="v2">
                                        <span class="title">子链申报管理</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="javascript:;" class="v2">
                                        <span class="title">子链区块头</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="javascript:;" class="v2">
                                        <span class="title">子链节点管理</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="javascript:;" class="v2">
                                        <span class="title">子链用户管理</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="javascript:;" class="v2">
                                        <span class="title">子链合约管理</span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </li>
                    <li>
                        <a href="javascript:;" class="v1">
                            <i class="icon_dn icon newiconfont newicon3-renzhengzhongxin"></i>
                            <span class="title">认证中心</span>
                            <i class="icon-arrow el-icon-arrow-down"></i>
                        </a>
                        <div class="slide-nav-subitem">
                            <ul>
                                <li>
                                    <a href="/manage/authentication/certificateperson.html" class="v2">
                                        <span class="title">个人认证</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="/manage/authentication/certificatecorp.html" class="v2">
                                        <span class="title">企业认证</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="/manage/authentication/certificatenode.html" class="v2">
                                        <span class="title">节点认证</span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </li>
                    <li>
                        <a href="javascript:;" class="v1">
                            <i class="icon_dn icon newiconfont newicon6-quanxianguanli"></i>
                            <span class="title">权限管理</span>
                            <i class="icon-arrow el-icon-arrow-down"></i>
                        </a>
                        <div class="slide-nav-subitem">
                            <ul>
                                <li>
                                    <a href="/manage/role/index.html" class="v2">
                                        <span class="title">角色管理</span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </li>
                    <li>
                        <a href="javascript:;" class="v1">
                            <i class="icon_dn icon iconfont iconicon_setting"></i>
                            <span class="title">系统管理</span>
                            <i class="icon-arrow el-icon-arrow-down"></i>
                        </a>
                        <div class="slide-nav-subitem">
                            <ul>
                                <li>
                                    <a href="/manage/system/user.html" class="v2">
                                        <span class="title">用户管理</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="javascript:;" class="v2">
                                        <span class="title">系统字典</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="/manage/system/dictbiz.html" class="v2">
                                        <span class="title">业务字典</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="/manage/system/menu.html" class="v2">
                                        <span class="title">菜单管理</span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </li>
                </ul>
                <!-- 侧边导航 end -->
            </div>
        </div>
        <!-- 布局-侧边 end -->
        <!-- 布局-主内容 -->
        <div class="block-main">
            <div class="block-scrollbar">
                <!-- 主内容 -->
                <div class="block-3">
                    <div class="block3-cont">
                        <div class="zidian-box1">
                            <div class="col-l">
                                <div class="basic-slide">
                                    <div class="basic-titel">
                                        <h3>字典列表</h3>
                                    </div>
                                    <div class="block2-cont">
                                        <div class="box-set5">
                                            <div class="set-bd2">
                                                <div class="set-item col-2">
                                                    <div class="tit">字典编号:</div>
                                                    <div class="con">
                                                        <input type="text" id="code" class="input-inner" placeholder="字典编号">
                                                    </div>
                                                </div>
                                                <div class="set-item col-2">
                                                    <div class="tit">字典名称:</div>
                                                    <div class="con">
                                                        <input type="text" id="dictValue" class="input-inner" placeholder="字典名称">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="set-bt set-bt_r">
                                                <a id="search" href="javascript:;" class="primary-btn">
                                                    <i class="icon_dn el-icon-search"></i>
                                                    <span>搜索</span>
                                                </a>
                                                <a id="reset" href="javascript:;">
                                                    <i class="icon_dn el-icon-delete"></i>
                                                    <span>清空</span>
                                                </a>
                                            </div>
                                        </div>
                                        <div class="box-set6">
                                            <div class="set-bt3">
                                                <div class="item">
                                                    <a id="refresh" href="javascript:;" class="btn">
                                                        <i class="el-icon-refresh"></i>
                                                    </a>
                                                    <div class="mask">
                                                        <div class="popper__arrow"></div>
                                                        <div class="tit">刷新</div>
                                                    </div>
                                                </div>
                                                <div class="item myfancy" data-href="#pop-xianyin">
                                                    <a href="javascript:;" class="btn">
                                                        <i class="el-icon-s-operation"></i>
                                                    </a>
                                                    <div class="mask">
                                                        <div class="popper__arrow"></div>
                                                        <div class="tit">显隐</div>
                                                    </div>
                                                </div>
                                                <div class="item js_search_show_hide">
                                                    <a href="javascript:;" class="btn">
                                                        <i class="el-icon-search"></i>
                                                    </a>
                                                    <div class="mask">
                                                        <div class="popper__arrow"></div>
                                                        <div class="tit">搜索</div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="set-bt">
                                                <a onclick="add()" href="javascript:;" class="primary-btn myfancy" data-href="#pop-xitongzidianxinzeng">
                                                    <i class="icon_dn el-icon-plus"></i>
                                                    <span>新 增</span>
                                                </a>
                                                <a id="batch_delete" href="javascript:;" class="del-btn myfancy" data-href="#pop-shanchu3">
                                                    <i class="icon_dn el-icon-delete"></i>
                                                    <span>删 除</span>
                                                </a>
                                            </div>
                                        </div>
                                        <div class="data-content_2 table-scroll-x table-scroll-y js-custom-radio-checkbox" data-modulename="formrel01">
                                            <div class="table1-head table-6">
                                                <table>
                                                    <colgroup>
                                                        <col width="50">
                                                        <col width="50">
                                                        <col width="NaN">
                                                        <col width="NaN">
                                                        <col width="NaN">
                                                        <col width="150">
                                                    </colgroup>
                                                    <thead>
                                                        <tr>
                                                            <th class="table1_hidden">
                                                                <div class="checkbox-item">
                                                                    <label>
                                                                        <input type="checkbox" name="1">
                                                                    </label>
                                                                </div>
                                                            </th>
                                                            <th class="table1_center table1_hidden">#</th>
                                                            <th>字典编号</th>
                                                            <th class="table1_center">字典名称</th>
                                                            <th>封存</th>
                                                            <th class="table1_hidden table1_center">操作</th>
                                                        </tr>
                                                    </thead>
                                                </table>
                                            </div>
                                            <div class="table1-body table-6">
                                                <table>
                                                    <colgroup>
                                                        <col width="50">
                                                        <col width="50">
                                                        <col width="NaN">
                                                        <col width="NaN">
                                                        <col width="NaN">
                                                        <col width="150">
                                                    </colgroup>
                                                    <tbody id="dictTbody"></tbody>
                                                </table>
                                            </div>
                                            <div class="table1-left_fixed" style="width: 100px;">
                                                <div class="table1-head_fixed table-6">
                                                    <table>
                                                        <colgroup>
                                                            <col width="50">
                                                            <col width="50">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="150">
                                                        </colgroup>
                                                        <thead>
                                                            <tr>
                                                                <th>
                                                                    <div class="checkbox-item">
                                                                        <label>
                                                                            <input type="checkbox" name="allCheckbox" onclick="selectAll()">
                                                                        </label>
                                                                    </div>
                                                                </th>
                                                                <th class="table1_center">#</th>
                                                                <th class="table1_hidden">字典编号</th>
                                                                <th class="table1_center table1_hidden">字典名称</th>
                                                                <th class="table1_hidden">封存</th>
                                                                <th class="table1_hidden table1_center">操作</th>
                                                            </tr>
                                                        </thead>
                                                    </table>
                                                </div>
                                                <div class="table1-body_fixed table-6">
                                                    <table>
                                                        <colgroup>
                                                            <col width="50">
                                                            <col width="50">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="150">
                                                        </colgroup>
                                                        <tbody id="dictTbody_left"></tbody>
                                                    </table>
                                                </div>
                                            </div>
                                            <div class="table1-right_fixed" style="width: 150px;">
                                                <div class="table1-head_fixed table-6">
                                                    <table>
                                                        <colgroup>
                                                            <col width="50">
                                                            <col width="50">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="150">
                                                        </colgroup>
                                                        <thead>
                                                            <tr>
                                                                <th class="table1_hidden">
                                                                    <div class="checkbox-item">
                                                                        <label>
                                                                            <input type="checkbox" name="1">
                                                                        </label>
                                                                    </div>
                                                                </th>
                                                                <th class="table1_center table1_hidden">#</th>
                                                                <th class="table1_hidden">字典编号</th>
                                                                <th class="table1_center table1_hidden">字典名称</th>
                                                                <th class="table1_hidden">封存</th>
                                                                <th class="table1_center">操作</th>
                                                            </tr>
                                                        </thead>
                                                    </table>
                                                </div>
                                                <div class="table1-body_fixed table-6">
                                                    <table>
                                                        <colgroup>
                                                            <col width="50">
                                                            <col width="50">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="150">
                                                        </colgroup>
                                                        <tbody id="dictTbody_right"></tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                        <div id="pageable" class="pages">
                                            <div id="total" class="pages-total"></div>
                                            <div class="dropmenurel01 js-dropmenu" data-modulename="dropmenurel01">
                                                <input type="hidden" value="0">
                                                <div class="dropmenurel01-tit">
                                                    <span>请选择</span>
                                                    <i class="el-input__icon el-icon-arrow-up"></i>
                                                </div>
                                                <div class="dropmenurel01-options js-dropmenu-options">
                                                    <i class="popper__arrow"></i>
                                                    <ul>
                                                        <li data-value="1" onclick="changePageSize(10)">10条/页</li>
                                                        <li data-value="2" onclick="changePageSize(20)">20条/页</li>
                                                        <li data-value="3" onclick="changePageSize(30)">30条/页</li>
                                                        <li data-value="4" onclick="changePageSize(40)">40条/页</li>
                                                        <li data-value="5" onclick="changePageSize(50)">50条/页</li>
                                                        <li data-value="6" onclick="changePageSize(100)">100条/页</li>
                                                    </ul>
                                                </div>
                                            </div>
                                            scoll
                                            <ul  id="pageList"></ul>
                                            <div class="pages-go">
                                                前往
                                                <input type="number" value="1" class="input-inner" id="pageNum" onChange="jumpPage()"/>
                                                页
                                                <div class="pages-prev pages-disable"><a href="javascript:;"><i class="el-icon el-icon-arrow-left"></i></a></div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-r">
                                <div class="basic-slide">
                                    <div class="basic-titel">
                                        <h3 id="childTitle">字典列表</h3>
                                    </div>
                                    <div class="block2-cont">
                                        <div class="box-set5">
                                            <div class="set-bd2">
                                                <div class="set-item col-2">
                                                    <div class="tit">字典编号:</div>
                                                    <div class="con">
                                                        <input id="childCode" type="text" class="input-inner" placeholder="字典编号">
                                                    </div>
                                                </div>
                                                <div class="set-item col-2">
                                                    <div class="tit">字典名称:</div>
                                                    <div class="con">
                                                        <input id="childDictValue" type="text" class="input-inner" placeholder="字典名称">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="set-bt set-bt_r">
                                                <a  id="childSearch" href="javascript:;" class="primary-btn">
                                                    <i class="icon_dn el-icon-search"></i>
                                                    <span>搜索</span>
                                                </a>
                                                <a id="childReset" href="javascript:;">
                                                    <i class="icon_dn el-icon-delete"></i>
                                                    <span>清空</span>
                                                </a>
                                            </div>
                                        </div>
                                        <div class="box-set6">
                                            <div class="set-bt3">
                                                <div class="item">
                                                    <a id="childRefresh" href="javascript:;" class="btn">
                                                        <i class="el-icon-refresh"></i>
                                                    </a>
                                                    <div class="mask">
                                                        <div class="popper__arrow"></div>
                                                        <div class="tit">刷新</div>
                                                    </div>
                                                </div>
                                                <div class="item myfancy" data-href="#pop-xianyin">
                                                    <a href="javascript:;" class="btn">
                                                        <i class="el-icon-s-operation"></i>
                                                    </a>
                                                    <div class="mask">
                                                        <div class="popper__arrow"></div>
                                                        <div class="tit">显隐</div>
                                                    </div>
                                                </div>
                                                <div class="item js_search_show_hide">
                                                    <a href="javascript:;" class="btn">
                                                        <i class="el-icon-search"></i>
                                                    </a>
                                                    <div class="mask">
                                                        <div class="popper__arrow"></div>
                                                        <div class="tit">搜索</div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="set-bt">
                                                <a onclick="child_add()" href="javascript:;" class="primary-btn myfancy" data-href="#pop-xitongzidianxiangqingxinzeng">
                                                    <i class="icon_dn el-icon-plus"></i>
                                                    <span>新 增</span>
                                                </a>
                                                <a id="child_batch_delete" href="javascript:;" class="del-btn myfancy" data-href="#pop-shanchu4">
                                                    <i class="icon_dn el-icon-delete"></i>
                                                    <span>删 除</span>
                                                </a>
                                            </div>
                                        </div>
                                        <div class="data-content_2 table-scroll-x table-scroll-y js-custom-radio-checkbox" data-modulename="formrel01">
                                            <div class="table1-head table-6">
                                                <table>
                                                    <colgroup>
                                                        <col width="50">
                                                        <col width="50">
                                                        <col width="NaN">
                                                        <col width="NaN">
                                                        <col width="NaN">
                                                        <col width="150">
                                                    </colgroup>
                                                    <thead>
                                                        <tr>
                                                            <th class="table1_hidden">
                                                                <div class="checkbox-item">
                                                                    <label>
                                                                        <input type="checkbox" name="1">
                                                                    </label>
                                                                </div>
                                                            </th>
                                                            <th class="table1_center table1_hidden">#</th>
                                                            <th>字典编号</th>
                                                            <th class="table1_center">字典名称</th>
                                                            <th>封存</th>
                                                            <th class="table1_hidden table1_center">操作</th>
                                                        </tr>
                                                    </thead>
                                                </table>
                                            </div>
                                            <div class="table1-body table-6">
                                                <table>
                                                    <colgroup>
                                                        <col width="50">
                                                        <col width="50">
                                                        <col width="NaN">
                                                        <col width="NaN">
                                                        <col width="NaN">
                                                        <col width="150">
                                                    </colgroup>
                                                    <tbody id="childDictTbody"></tbody>
                                                </table>
                                            </div>
                                            <div class="table1-left_fixed" style="width: 100px;">
                                                <div class="table1-head_fixed table-6">
                                                    <table>
                                                        <colgroup>
                                                            <col width="50">
                                                            <col width="50">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="150">
                                                        </colgroup>
                                                        <thead>
                                                            <tr>
                                                                <th>
                                                                    <div class="checkbox-item">
                                                                        <label>
                                                                            <input type="checkbox" name="allChildCheckbox" onclick="selectChildAll()">
                                                                        </label>
                                                                    </div>
                                                                </th>
                                                                <th class="table1_center">#</th>
                                                                <th class="table1_hidden">字典编号</th>
                                                                <th class="table1_center table1_hidden">字典名称</th>
                                                                <th class="table1_hidden">封存</th>
                                                                <th class="table1_hidden table1_center">操作</th>
                                                            </tr>
                                                        </thead>
                                                    </table>
                                                </div>
                                                <div class="table1-body_fixed table-6">
                                                    <table>
                                                        <colgroup>
                                                            <col width="50">
                                                            <col width="50">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="150">
                                                        </colgroup>
                                                        <tbody id="childDictTbody_left"></tbody>
                                                    </table>
                                                </div>
                                            </div>
                                            <div class="table1-right_fixed" style="width: 150px;">
                                                <div class="table1-head_fixed table-6">
                                                    <table>
                                                        <colgroup>
                                                            <col width="50">
                                                            <col width="50">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="150">
                                                        </colgroup>
                                                        <thead>
                                                            <tr>
                                                                <th class="table1_hidden">
                                                                    <div class="checkbox-item">
                                                                        <label>
                                                                            <input type="checkbox" name="1">
                                                                        </label>
                                                                    </div>
                                                                </th>
                                                                <th class="table1_center table1_hidden">#</th>
                                                                <th class="table1_hidden">字典编号</th>
                                                                <th class="table1_center table1_hidden">字典名称</th>
                                                                <th class="table1_hidden">封存</th>
                                                                <th class="table1_center">操作</th>
                                                            </tr>
                                                        </thead>
                                                    </table>
                                                </div>
                                                <div class="table1-body_fixed table-6">
                                                    <table>
                                                        <colgroup>
                                                            <col width="50">
                                                            <col width="50">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="NaN">
                                                            <col width="150">
                                                        </colgroup>
                                                        <tbody id="childDictTbody_right"></tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                        <div id="childPageable" class="pages">
                                            <div id="childTotal" class="pages-total"></div>
                                            <div class="dropmenurel01 js-dropmenu" data-modulename="dropmenurel01">
                                                <input type="hidden" value="0">
                                                <div class="dropmenurel01-tit">
                                                    <span>请选择</span>
                                                    <i class="el-input__icon el-icon-arrow-up"></i>
                                                </div>
                                                <div class="dropmenurel01-options js-dropmenu-options">
                                                    <i class="popper__arrow"></i>
                                                    <ul>
                                                        <li data-value="1" onclick="changeChildPageSize(10)">10条/页</li>
                                                        <li data-value="2" onclick="changeChildPageSize(20)">20条/页</li>
                                                        <li data-value="3" onclick="changeChildPageSize(30)">30条/页</li>
                                                        <li data-value="4" onclick="changeChildPageSize(40)">40条/页</li>
                                                        <li data-value="5" onclick="changeChildPageSize(50)">50条/页</li>
                                                        <li data-value="6" onclick="changeChildPageSize(100)">100条/页</li>
                                                    </ul>
                                                </div>
                                            </div>
                                            <ul id="childPageList"></ul>
                                            <div class="pages-go">
                                                前往
                                                <input type="number" value="1" class="input-inner" id="childPageNum" onChange="jumpChildPage()"/>
                                                页     
                                                <div class="pages-prev pages-disable"><a href="javascript:;"><i class="el-icon el-icon-arrow-left"></i></a></div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- 系统字典-新增 -->
                <div class="m-pop" id="pop-xitongzidianxinzeng">
                    <div class="win-pop4">
                        <div class="win1-hd">
                            <div class="win1-btn">
                                <a href="javascript:;" class="fullscreen js-fullscreen">
                                    <i class="el-icon-full-screen"></i>
                                </a>
                                <a href="javascript:;" class="close js-close">
                                    <i class="el-icon-close"></i>
                                </a>
                            </div>
                            <h3>新 增</h3>
                        </div>
                        <div class="win3-bd">
                            <div class="form-1 form-5 js-custom-radio-checkbox" data-modulename="formrel01">
                                <form action="">
                                    <div class="form-item col-1">
                                        <div class="tit"><span>*</span>字典编号:</div>
                                        <div class="con">
                                            <input id="add_code" type="text" class="input-inner" placeholder="请输入 字典编号" value="">
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>字典名称:</div>
                                        <div class="con">
                                            <input id="add_dictValue" type="text" class="input-inner" placeholder="请输入 字典名称" value="">
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>字典排序:</div>
                                        <div class="con">
                                            <div class="asc">
                                                <i class="el-icon-arrow-up"></i>
                                            </div>
                                            <div class="desc">
                                                <i class="el-icon-arrow-down"></i>
                                            </div>
                                            <input id="add_sort" type="text" class="input-inner" placeholder="" value="">
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>封存:</div>
                                        <div class="con">
                                            <div class="checkbox-item2">
                                                <label>
                                                    <input id="add_isSealed" type="checkbox"/>
                                                    <span class="left">否</span>
                                                    <span class="switch-core"></span>
                                                    <span class="right">是</span>
                                                </label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>字典备注:</div>
                                        <div class="con">
                                            <input id="add_remark" type="text" class="input-inner" placeholder="请输入 字典备注" value="">
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                        <div class="win-bt2">
                            <a onclick="add_submit()" href="javascript:;" class="primary-btn"><span><i class="icon_dn el-icon-circle-plus-outline"></i>保存</span></a>
                            <a href="javascript:;" class="js-btn"><span><i class="icon_dn el-icon-circle-close"></i>取消</span></a>
                        </div>
                    </div>
                </div>
                <!-- 系统字典-新增 end -->
                <!-- 系统字典-编辑 -->
                <div class="m-pop" id="pop-xitongzidianbianji">
                    <div class="win-pop4">
                        <div class="win1-hd">
                            <div class="win1-btn">
                                <a href="javascript:;" class="fullscreen js-fullscreen">
                                    <i class="el-icon-full-screen"></i>
                                </a>
                                <a href="javascript:;" class="close js-close">
                                    <i class="el-icon-close"></i>
                                </a>
                            </div>
                            <h3>编 辑</h3>
                        </div>
                        <div class="win3-bd">
                            <div class="form-1 form-5 js-custom-radio-checkbox" data-modulename="formrel01">
                                <form action="">
                                    <div class="form-item col-1">
                                        <div class="tit"><span>*</span>字典编号:</div>
                                        <div class="con">
                                            <input id="edit_code" type="text" class="input-inner" placeholder="请输入 字典编号" value="">
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>字典名称:</div>
                                        <div class="con">
                                            <input  id="edit_dictValue" type="text" class="input-inner" placeholder="请输入 字典名称" value="">
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>字典排序:</div>
                                        <div class="con">
                                            <div class="asc">
                                                <i class="el-icon-arrow-up"></i>
                                            </div>
                                            <div class="desc">
                                                <i class="el-icon-arrow-down"></i>
                                            </div>
                                            <input id="edit_sort" type="text" class="input-inner" placeholder="" value="">
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>封存:</div>
                                        <div class="con">
                                            <div class="checkbox-item2">
                                                <label>
                                                    <input id="edit_isSealed" type="checkbox" />
                                                    <span class="left">否</span>
                                                    <span class="switch-core"></span>
                                                    <span class="right">是</span>
                                                </label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>字典备注:</div>
                                        <div class="con">
                                            <input id="edit_remark" type="text" class="input-inner" placeholder="请输入 字典备注" value="">
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                        <div class="win-bt2">
                            <a onclick="edit_submit()" href="javascript:;" class="primary-btn"><span><i class="icon_dn el-icon-circle-plus-outline"></i>保存</span></a>
                            <a href="javascript:;" class="js-btn"><span><i class="icon_dn el-icon-circle-close"></i>取消</span></a>
                        </div>
                    </div>
                </div>
                <!-- 系统字典-编辑 end -->
                <!-- 系统字典-详情-新增 -->
                <div class="m-pop" id="pop-xitongzidianxiangqingxinzeng">
                    <div class="win-pop4">
                        <div class="win1-hd">
                            <div class="win1-btn">
                                <a href="javascript:;" class="fullscreen js-fullscreen">
                                    <i class="el-icon-full-screen"></i>
                                </a>
                                <a href="javascript:;" class="close js-close">
                                    <i class="el-icon-close"></i>
                                </a>
                            </div>
                            <h3>新 增</h3>
                        </div>
                        <div class="win3-bd">
                            <div class="form-1 form-5 js-custom-radio-checkbox" data-modulename="formrel01">
                                <form action="">
                                    <div class="form-item col-1">
                                        <div class="tit"><span>*</span>字典编号:</div>
                                        <div class="con">
                                            <input id="child_add_code" type="text" disabled="disabled" autocomplete="off" class="input-inner" placeholder="请输入 字典编号" value="">
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>字典名称:</div>
                                        <div class="con">
                                            <input id="child_add_dictValue" type="text" class="input-inner" placeholder="请输入 字典名称" value="">
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit">上级字典:</div>
                                        <div class="con">
                                            <div class="dropmenurel01 dropmenurel01_disabled  js-dropmenu2" data-modulename="dropmenurel01">
                                                <input id="child_add_parentId" type="hidden" value="0">
                                                <div class="dropmenurel01-tit">
                                                    <span id="child_add_parentName">请选择上级字典</span>
                                                    <i class="el-input__icon el-icon-arrow-up"></i>
                                                </div>
                                                <div class="dropmenurel01-options js-dropmenu-options2">
                                                    <i class="popper__arrow"></i>
                                                    <ul>
                                                        <div class="input">
                                                            <input type="text" class="input-inner" placeholder="输入关键字进行过滤">
                                                        </div>
                                                        <div class="tree-ul js_tree js-custom-radio-checkbox" data-modulename="formrel01">
                                                            <ul></ul>
                                                        </div>
                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>字典键值:</div>
                                        <div class="con">
                                            <input id="child_add_dictKey" type="text" class="input-inner" placeholder="请输入 字典键值" value="">
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>字典排序:</div>
                                        <div class="con">
                                            <div class="asc">
                                                <i class="el-icon-arrow-up"></i>
                                            </div>
                                            <div class="desc">
                                                <i class="el-icon-arrow-down"></i>
                                            </div>
                                            <input id="child_add_sort" type="text" class="input-inner" placeholder="" value="">
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>封存:</div>
                                        <div class="con">
                                            <div class="checkbox-item2">
                                                <label>
                                                    <input id="child_add_isSealed" type="checkbox"/>
                                                    <span class="left">否</span>
                                                    <span class="switch-core"></span>
                                                    <span class="right">是</span>
                                                </label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>字典备注:</div>
                                        <div class="con">
                                            <input id="child_add_remarks" type="text" class="input-inner" placeholder="请输入 字典备注" value="">
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                        <div class="win-bt2">
                            <a onclick="child_add_submit()" href="javascript:;" class="primary-btn"><span><i class="icon_dn el-icon-circle-plus-outline"></i>保存</span></a>
                            <a href="javascript:;" class="js-btn"><span><i class="icon_dn el-icon-circle-close"></i>取消</span></a>
                        </div>
                    </div>
                </div>
                <!-- 系统字典-详情-新增 end -->
                <!-- 系统字典-详情-编辑 -->
                <div class="m-pop" id="pop-xitongzidianxiangqingbianji">
                    <div class="win-pop4">
                        <div class="win1-hd">
                            <div class="win1-btn">
                                <a href="javascript:;" class="fullscreen js-fullscreen">
                                    <i class="el-icon-full-screen"></i>
                                </a>
                                <a href="javascript:;" class="close js-close">
                                    <i class="el-icon-close"></i>
                                </a>
                            </div>
                            <h3>编 辑</h3>
                        </div>
                        <div class="win3-bd">
                            <div class="form-1 form-5 js-custom-radio-checkbox" data-modulename="formrel01">
                                <form action="">
                                    <div class="form-item col-1">
                                        <div class="tit"><span>*</span>字典编号:</div>
                                        <div class="con">
                                            <input id="child_edit_code" type="text" disabled="disabled" autocomplete="off" class="input-inner" placeholder="请输入 字典编号" value="">
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>字典名称:</div>
                                        <div class="con">
                                            <input id="child_edit_dictValue" type="text" class="input-inner" placeholder="请输入 字典名称" value="">
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit">上级字典:</div>
                                        <div class="con">
                                            <div class="dropmenurel01 dropmenurel01_disabled  js-dropmenu2" data-modulename="dropmenurel01">
                                                <input id="child_edit_parentId" type="hidden" value="0">
                                                <div class="dropmenurel01-tit">
                                                    <span id="child_edit_parentName">请选择上级字典</span>
                                                    <i class="el-input__icon el-icon-arrow-up"></i>
                                                </div>
                                                <div class="dropmenurel01-options js-dropmenu-options2">
                                                    <i class="popper__arrow"></i>
                                                    <ul>
                                                        <div class="input">
                                                            <input type="text" class="input-inner" placeholder="输入关键字进行过滤">
                                                        </div>
                                                        <div class="tree-ul js_tree js-custom-radio-checkbox" data-modulename="formrel01">
                                                            <ul>
                                                                <li>
                                                                    <div class="title">
                                                                        <i class="el-icon-caret-right icon-calendar"></i>
                                                                        <div class="checkbox-item">
                                                                            <label>
                                                                                <input type="checkbox" name="1">
                                                                            </label>
                                                                        </div>
                                                                        <span class="name">泰尔英福</span>
                                                                    </div>
                                                                </li>
                                                            </ul>
                                                        </div>
                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>字典键值:</div>
                                        <div class="con">
                                            <input id="child_edit_dictKey" type="text" class="input-inner" placeholder="请输入 字典键值" value="">
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>字典排序:</div>
                                        <div class="con">
                                            <div class="asc">
                                                <i class="el-icon-arrow-up"></i>
                                            </div>
                                            <div class="desc">
                                                <i class="el-icon-arrow-down"></i>
                                            </div>
                                            <input id="child_edit_sort" type="text" class="input-inner" placeholder="" value="">
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>封存:</div>
                                        <div class="con">
                                            <div class="checkbox-item2">
                                                <label>
                                                    <input id="child_edit_isSealed" type="checkbox"/>
                                                    <span class="left">否</span>
                                                    <span class="switch-core"></span>
                                                    <span class="right">是</span>
                                                </label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-item col-2">
                                        <div class="tit"><span>*</span>字典备注:</div>
                                        <div class="con">
                                            <input id="child_edit_remarks" type="text" class="input-inner" placeholder="请输入 字典备注" value="">
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                        <div class="win-bt2">
                            <a onclick="child_edit_submit()" href="javascript:;" class="primary-btn"><span><i class="icon_dn el-icon-circle-plus-outline"></i>保存</span></a>
                            <a href="javascript:;" class="js-btn"><span><i class="icon_dn el-icon-circle-close"></i>取消</span></a>
                        </div>
                    </div>
                </div>
                <!-- 系统字典-详情-编辑 end -->
                <!-- 主内容 end -->
            </div>
        </div>
        <!-- 布局-主内容 end -->
    </div>
    <div class="pop-bg"></div>
    <!-- 合约禁用弹窗 -->
    <div class="m-pop" id="pop-heyuejinyong">
        <div class="win-pop1">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-icon-close"></i>
                    </a>
                </div>
                <h3>合约禁用</h3>
            </div>
            <div class="win1-bd">
                <div class="win1-item">
                    <div class="tit">禁用原因<span>*</span></div>
                    <div class="con">
                        <input type="text" class="input-inner" />
                    </div>
                </div>
            </div>
            <div class="win-bt">
                <a href="javascript:;" class="js-btn"><span>取 消</span></a>
                <a href="javascript:;" class="primary-btn"><span>确 定</span></a>
            </div>
        </div>
    </div>
    <!-- 合约禁用弹窗 end -->
    <!-- 撤销弹窗 -->
    <div class="m-pop" id="pop-chexiaozhengshu">
        <div class="win-pop1">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-icon-close"></i>
                    </a>
                </div>
                <h3>撤销</h3>
            </div>
            <div class="win1-bd">
                <div class="win1-item">
                    <div class="tit">撤销原因:</div>
                    <div class="con">
                        <textarea class="textarea-inner" placeholder="请输入撤销原因"></textarea>
                    </div>
                </div>
            </div>
            <div class="win-bt">
                <a href="javascript:;" class="primary-btn"><span>提交</span></a>
                <a href="javascript:;" class="js-btn"><span>返回</span></a>
            </div>
        </div>
    </div>
    <!-- 撤销弹窗 end -->
    <!-- 禁用弹窗 -->
    <div class="m-pop" id="pop-jinyong">
        <div class="win-pop3">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-icon-close"></i>
                    </a>
                </div>
                <h3>提示</h3>
            </div>
            <div class="win3-bd">
                <div class="win3-item">
                    <div class="icon_dn el-icon-info"></div>
                    <div class="desc">
                        <p>您确定要禁用标识吗？</p>
                    </div>
                </div>
            </div>
            <div class="win-bt2">
                <a href="javascript:;" class="js-btn"><span>取消</span></a>
                <a href="javascript:;" class="primary-btn"><span>确定</span></a>
            </div>
        </div>
    </div>
    <!-- 禁用弹窗 end -->
    <!-- 启用弹窗 -->
    <div class="m-pop" id="pop-qiyong">
        <div class="win-pop3">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-icon-close"></i>
                    </a>
                </div>
                <h3>提示</h3>
            </div>
            <div class="win3-bd">
                <div class="win3-item">
                    <div class="icon_dn el-icon-info"></div>
                    <div class="desc">
                        <p>您确定要启用标识吗？</p>
                    </div>
                </div>
            </div>
            <div class="win-bt2">
                <a href="javascript:;" class="js-btn"><span>取消</span></a>
                <a href="javascript:;" class="primary-btn"><span>确定</span></a>
            </div>
        </div>
    </div>
    <!-- 启用弹窗 end -->
    <!-- 下载KeyStore -->
    <div class="m-pop" id="pop-xiazaiKeyStore">
        <div class="win-pop3">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-icon-close"></i>
                    </a>
                </div>
                <h3>提示</h3>
            </div>
            <div class="win3-bd">
                <div class="win3-item">
                    <div class="tit">请输入创建人的私钥</div>
                    <div class="con">
                        <input type="text" class="input-inner" />
                    </div>
                </div>
            </div>
            <div class="win-bt2">
                <a href="javascript:;" class="js-btn"><span>取消</span></a>
                <a href="javascript:;" class="primary-btn"><span>确定</span></a>
            </div>
        </div>
    </div>
    <!-- 下载KeyStore end -->
    <!-- 删除 -->
    <div class="m-pop" id="pop-shanchu">
        <div class="win-pop3">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-icon-close"></i>
                    </a>
                </div>
                <h3>提示</h3>
            </div>
            <div class="win3-bd">
                <div class="win3-item">
                    <div class="icon_dn el-icon-warning"></div>
                    <div class="desc">
                        <p>此操作将永久删除该数据, 是否继续?</p>
                    </div>
                </div>
            </div>
            <div class="win-bt2">
                <a href="javascript:;" class="js-btn"><span>取消</span></a>
                <a  onclick="remove()" href="javascript:;" class="primary-btn"><span>确定</span></a>
            </div>
        </div>
    </div>
    <!-- 删除 end -->
    <!-- 删除2 -->
    <div class="m-pop" id="pop-shanchu2">
        <div class="win-pop3">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-icon-close"></i>
                    </a>
                </div>
                <h3>提示</h3>
            </div>
            <div class="win3-bd">
                <div class="win3-item">
                    <div class="icon_dn el-icon-info"></div>
                    <div class="desc">
                        <p>确定删除选中角色?</p>
                    </div>
                </div>
            </div>
            <div class="win-bt2">
                <a href="javascript:;" class="js-btn"><span>取消</span></a>
                <a href="javascript:;" class="primary-btn"><span>确定</span></a>
            </div>
        </div>
    </div>
    <!-- 删除2 end -->
    <!-- 删除3 -->
    <div class="m-pop" id="pop-shanchu3">
        <div class="win-pop3">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-icon-close"></i>
                    </a>
                </div>
                <!-- <h3>提示</h3> -->
            </div>
            <div class="win3-bd">
                <div class="win3-item">
                    <div class="icon_dn el-icon-warning"></div>
                    <div class="desc">
                        <p>确定将选择数据删除?</p>
                    </div>
                </div>
            </div>
            <div class="win-bt2">
                <a href="javascript:;" class="js-btn"><span>取消</span></a>
                <a href="javascript:;" class="primary-btn" onclick="remove('3')"><span>确定</span></a>
            </div>
        </div>
    </div>
    <!-- 删除3 end -->
    <!-- 删除4 -->
    <div class="m-pop" id="pop-shanchu4">
        <div class="win-pop3">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-icon-close"></i>
                    </a>
                </div>
                <!-- <h3>提示</h3> -->
            </div>
            <div class="win3-bd">
                <div class="win3-item">
                    <div class="icon_dn el-icon-warning"></div>
                    <div class="desc">
                        <p>确定将选择数据删除?</p>
                    </div>
                </div>
            </div>
            <div class="win-bt2">
                <a href="javascript:;" class="js-btn"><span>取消</span></a>
                <a href="javascript:;" class="primary-btn"onclick="remove('4')"><span>确定</span></a>
            </div>
        </div>
    </div>
    <!-- 删除4 end -->
    <!-- 移至黑名单 -->
    <div class="m-pop" id="pop-yizhiheimingdan">
        <div class="win-pop3">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-icon-close"></i>
                    </a>
                </div>
                <h3>提示</h3>
            </div>
            <div class="win3-bd">
                <div class="win3-item">
                    <div class="icon_dn el-icon-warning"></div>
                    <div class="desc">
                        <p>确定将该用户移至黑名单吗?</p>
                    </div>
                </div>
            </div>
            <div class="win-bt2">
                <a href="javascript:;" class="js-btn"><span>取消</span></a>
                <a href="javascript:;" class="primary-btn"><span>确定</span></a>
            </div>
        </div>
    </div>
    <!-- 移至黑名单 end -->
    <!-- 升至管理员 -->
    <div class="m-pop" id="pop-shengzhiguanliyuan">
        <div class="win-pop3">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-icon-close"></i>
                    </a>
                </div>
                <h3>提示</h3>
            </div>
            <div class="win3-bd">
                <div class="win3-item">
                    <div class="icon_dn el-icon-warning"></div>
                    <div class="desc">
                        <p>确定将该用户添加至管理员?</p>
                    </div>
                </div>
            </div>
            <div class="win-bt2">
                <a href="javascript:;" class="js-btn"><span>取消</span></a>
                <a href="javascript:;" class="primary-btn"><span>确定</span></a>
            </div>
        </div>
    </div>
    <!-- 升至管理员 end -->
    <!-- 移除管理员 -->
    <div class="m-pop" id="pop-yichuguanliyuan">
        <div class="win-pop3">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-icon-close"></i>
                    </a>
                </div>
                <h3>提示</h3>
            </div>
            <div class="win3-bd">
                <div class="win3-item">
                    <div class="icon_dn el-icon-info"></div>
                    <div class="desc">
                        <p>确定移除该用户管理员?</p>
                    </div>
                </div>
            </div>
            <div class="win-bt2">
                <a href="javascript:;" class="js-btn"><span>取消</span></a>
                <a href="javascript:;" class="primary-btn"><span>确定</span></a>
            </div>
        </div>
    </div>
    <!-- 移除管理员 end -->
    <!-- 重置密码 -->
    <div class="m-pop" id="pop-chongzhimima">
        <div class="win-pop3">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-icon-close"></i>
                    </a>
                </div>
                <h3>请输入接收密码的邮箱</h3>
            </div>
            <div class="win3-bd">
                <div class="form-1 form-4">
                    <form action="">
                        <div class="form-item col-1">
                            <div class="tit"></div>
                            <div class="con">
                                <input type="text" class="input-inner" placeholder="">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="win-bt2">
                <a href="javascript:;" class="js-btn"><span>取消</span></a>
                <a href="javascript:;" class="primary-btn"><span>确定</span></a>
            </div>
        </div>
    </div>
    <!-- 重置密码 end -->
    <!-- 钱包解锁弹窗 -->
    <div class="m-pop" id="pop-qianbaojiesuo">
        <div class="win-pop2">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-dialog__close el-icon el-icon-close"></i>
                    </a>
                </div>
                <h3>钱包解锁</h3>
            </div>
            <div class="win1-bd">
                <div class="win2-item">
                    <div class="tit">请选择方式：</div>
                    <div class="con">
                        <ul class="radio-group js-custom-radio-checkbox" data-modulename="formrel01">
                            <li data-selectName=".item-select1">
                                <label>
                                    <input type="radio" name="1" checked />
                                    <i class="icon"></i>
                                    <span>BID keystore 文件</span>
                                </label>
                            </li>
                            <li data-selectName=".item-select2">
                                <label>
                                    <input type="radio" name="1" />
                                    <i class="icon"></i>
                                    <span>BID私钥</span>
                                </label>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="win2-item item-select1">
                    <div class="tit">请选择BID Keystore文件</div>
                    <div class="con">
                        <div class="file-upload_box3">
                            <div class="fileUpload-btn3">
                                <label>
                                    <input type="file" class="js-upload">
                                    <span><i class="icon_dn el-icon-upload e-upload"></i>选择文件</span>
                                </label>
                            </div>
                            <ul class="fileUpload-files">
                                <!-- <li>
                                <a href="javascript:;">
                                    <i class="el-icon-document"></i>
                                    <span>5cd67b13-740e-4f77-b950-09e47e60881d (1).json</span>
                                </a>
                                <i class="el-icon-close"></i>
                            </li> -->
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="win2-item col-1 item-select1">
                    <div class="tit">请输入密码：</div>
                    <div class="con">
                        <div class="input-suffix">
                            <input type="password" class="input-inner" placeholder="请输入密码" />
                            <div class="icon">
                                <i class="el-input__icon i-changetype el-icon-view"></i>
                                <i class="el-input__icon el-icon-circle-close"></i>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="win2-item col-1 item-select2">
                    <div class="tit">请输入BID私钥：</div>
                    <div class="con">
                        <div class="input-suffix">
                            <input type="password" class="input-inner" placeholder="请输入BID私钥" />
                            <div class="icon">
                                <i class="el-input__icon i-changetype el-icon-view"></i>
                                <i class="el-input__icon el-icon-circle-close"></i>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="win-bt win-bt_center">
                <a href="javascript:;" class="js-btn"><span>取 消</span></a>
                <a href="javascript:;" class="primary-btn"><span>确 定</span></a>
            </div>
        </div>
    </div>
    <!-- 钱包解锁弹窗 end -->
    <!-- 显隐 -->
    <div class="m-pop" id="pop-xianyin">
        <div class="win-pop5">
            <div class="win1-hd">
                <div class="win1-btn">
                    <a href="javascript:;" class="close js-close">
                        <i class="el-dialog__close el-icon el-icon-close"></i>
                    </a>
                </div>
                <h3>多 选</h3>
            </div>
            <div class="win1-bd">
                <ul class="checkbox-group2 js-custom-radio-checkbox" data-modulename="formrel01">
                    <li>
                        <label>
                            <input type="checkbox" name="1" checked />
                            <i class="icon"></i>
                            <span>角色名称</span>
                        </label>
                    </li>
                    <li>
                        <label>
                            <input type="checkbox" name="1" />
                            <i class="icon"></i>
                            <span>所属租户</span>
                        </label>
                    </li>
                    <li>
                        <label>
                            <input type="checkbox" name="1" />
                            <i class="icon"></i>
                            <span>角色别名</span>
                        </label>
                    </li>
                    <li>
                        <label>
                            <input type="checkbox" name="1" />
                            <i class="icon"></i>
                            <span>角色排序</span>
                        </label>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!-- 显隐 end -->
    <script src="/js/module.js"></script>
    <script src="../../js/common/all.js"></script>
    <script src="../../js/common/bms.js"></script>
    <script type="text/javascript">
        var requestUrl = getRequestUrl();
        var currentPage = 1;
        var currentSize = 10;
        var num = 0
        var records=[]
        var currentRecordId = null;
        var currentRecordIndex = null;

        var childCurrentPage = 1;
        var childCurrentSize = 10;
        var childNum=0;
        var childRecords=[]

        // 左侧需要编辑的数据
        var editObj = {}
        // 右侧需要编辑的数据
        var subEditObj = {}

        // 需要删除的数据
        var removeList=[];
        // 是否选择全部
        var isSelectedAll = false;
        // 右侧需要删除的数据
        var childRemoveList=[];
        // 右侧是否选择全部
        var isChildSelectedAll = false;

        // 左侧刷新
        $('#refresh').click(function(){
            getData()
        })
        // 左侧搜索
        $('#search').click(function () {
            currentPage = 1;
            getData()
        })
         // 左侧清空
         $('#reset').click(function(){
            $('#code').val('');
            $('#dictValue').val('');
            currentPage = 1;
            getData();
        })

        // 右侧刷新
        $('#childRefresh').click(function(){
            getChildList()
        })
        // 右侧搜索
        $('#childSearch').click(function () {
            childCurrentPage = 1
            getChildList()
        })
         // 右侧清空
         $('#childReset').click(function(){
            $('#childCode').val('');
            $('#childDictValue').val('');
            childCurrentPage = 1
            getChildList();
        })

        // 获取列表数据
        function getData(){
            var code = $('#code').val();
            var dictValue = $('#dictValue').val();
            $request({
                url: requestUrl + '/dict/parent-list?current=' + currentPage + '&size=' + currentSize,
                method: 'get',
                data: {
                    code: code,
                    dictValue: dictValue
                }
            }, function(res) {
                renderRecords(res.records);
                records = res.records
                if(res.total){
                    $('#pageable').show()
                    $('#total').html("共"+res.total+"条")
                    num =Math.ceil(res.total / currentSize);
                    pageNumInit(num)
                }else{
                    $('#pageable').hide()
                }
                
            })
        }
        // 读取数据
        function renderRecords(records){
            $('#dictTbody').children().remove();
            $('#dictTbody_left').children().remove();
            $('#dictTbody_right').children().remove();
            
            if(records.length>0){
                var template = '';
                var templateLeft='';
                var templateRight='';
                $.each(records, function(i, x){
                    template += "<tr data-id="+x.id+" onclick='selectedRow("+i+")'>"+
                                "<td class='table1_hidden'>"+
                                    "<div class='checkbox-item'>"+
                                        "<label>"+
                                            "<input type='checkbox' name='1'>"+
                                        "</label>"+
                                    "</div>"+
                                "</td>"+
                                "<td class='table1_center table1_hidden'>"+ (i + 1) +"</td>"+
                                "<td>"+ x.code +"</td>"+
                                "<td class='table1_center'>"+ x.dictValue +"</td>"+
                                "<td>"+
                                    "<div class='table1-tag'>"+
                                        " <span>"+(x.isSealed ?'是':'否')+"</span>"+
                                    " </div>"+
                                "</td>"+
                                "<td class='table1_hidden'>"+
                                    "<div class='table1-btn'>"+
                                        "<a onclick='add_edit("+x.id+","+i+")' href='javascript:;' class='myfancy' data-href='#pop-xitongzidianxiangqingbianji'><i class='icon_dn el-icon-edit'></i>编辑</a>"+
                                        "<a href='javascript:;' class='myfancy' data-href='#pyonghuguanlichakankan'  id='dictTbody_delete'><i class='icon_dn el-icon-delete'></i>删除</a>"+
                                    "</div>"+
                                "</td>"+
                            "</tr>"
                        // 拼接left节点内容    
                        templateLeft += "<tr>"+
                                "<td>"+
                                    "<div class='checkbox-item'>"+
                                        "<label>"+
                                            "<input type='checkbox'  name='checkbox' value="+x.id+" onclick='selectCheckBox(this)'>"+
                                        "</label>"+
                                    "</div>"+
                                "</td>"+
                                "<td class='table1_center'>"+ (i + 1) +"</td>"+
                                "<td class='table1_hidden'> "+ x.code +"</td>"+
                                "<td class='table1_hidden'>"+ x.dictValue +"</td>"+
                                "<td class='table1_hidden'>"+
                                    "<div class='table1-tag'>"+
                                        " <span>"+(x.isSealed ?'是':'否')+"</span>"+
                                    " </div>"+
                                "</td>"+
                                "<td class='table1_hidden'>"+
                                    "<div class='table1-btn'>"+
                                        "<a href='javascript:;' class='myfancy' data-href='#pop-xitongzidianxiangqingbianji'><i class='icon_dn el-icon-edit'></i>编辑</a>"+
                                        "<a href='javascript:;' class='myfancy' data-href='#pyonghuguanlichakankan'  id='dictTbody_delete'><i class='icon_dn el-icon-delete'></i>删除</a>"+
                                    "</div>"+
                                "</td>"+
                            "</tr>"
                        // 拼接right节点内容
                        templateRight +=  "<tr>"+
                                "<td class='table1_hidden'>"+
                                    "<div class='checkbox-item'>"+
                                        "<label>"+
                                            "<input type='checkbox' name='1'>"+
                                        "</label>"+
                                    "</div>"+
                                "</td>"+
                                "<td class='table1_center table1_hidden'>"+ (i + 1) +"</td>"+
                                "<td class='table1_hidden'>"+ x.code +"</td>"+
                                "<td class='table1_hidden'>"+ x.dictValue +"</td>"+
                                "<td class='table1_hidden'>"+
                                    "<div class='table1-tag'>"+
                                        " <span>"+(x.isSealed ?'是':'否')+"</span>"+
                                    " </div>"+
                                "</td>"+
                                "<td>"+
                                    "<div class='table1-btn'>"+
                                        "<a onclick='edit("+x.id+","+i+")' href='javascript:;' class='myfancy' data-href='#pop-xitongzidianxiangqingbianji'><i class='icon_dn el-icon-edit'></i>编辑</a>"+
                                        "<a href='javascript:;' class='myfancy' data-href='#pop-shanchu3' onclick='dict_delete("+i+",this)'><i class='icon_dn el-icon-delete'></i>删除</a>"+
                                    "</div>"+
                                "</td>"+
                            "</tr>"
                })
                $('#dictTbody').append(template);
                $('#dictTbody_left').append(templateLeft);
                $('#dictTbody_right').append(templateRight);
            } else {
                $('#dictTbody').append("<div class='none-data'><p>暂无数据</p></div>");
                $('#dictTbody_left').append("<div class='none-data'><p>暂无数据</p></div>");
                $('#dictTbody_right').append("<div class='none-data'><p>暂无数据</p></div>");
            }
        }
        function selectedRow(index, id){
            currentRecordIndex = index;
            var parent=records[index];
            currentRecordId = parent.id;
            $('#childTitle').html("["+parent.dictValue+"]"+"字典详情")
            getChildList()
        }
        // 获取子列表数据
        function getChildList(){
            if(currentRecordId){
                var childCode = $('#childCode').val();
                var childDictValue = $('#childDictValue').val();
                $request({
                    url: requestUrl + '/dict/child-list?current=' + childCurrentPage + '&size=' + childCurrentSize,
                    method: 'get',
                    data: {
                        parentId: currentRecordId,
                        code: childCode,
                        dictValue: childDictValue
                    }
                }, function(res) {
                    renderChildRecords(res.records);
                    childRecords = res.records
                    if(res.total){
                        $('#childPageable').show()
                        $('#childTotal').html("共"+res.total+"条")
                        childNum =Math.ceil(res.total / childCurrentSize);
                        childPageNumInit(childNum)
                    }else{
                        $('#childPageable').hide()
                    }
                    
                })
            }
        }
        // 子节点数据拼接
        function renderChildRecords(records){
            $('#childDictTbody').children().remove();
            $('#childDictTbody_left').children().remove();
            $('#childDictTbody_right').children().remove();
            
            if(records.length>0){
                var childTemplate = '';
                var childTemplateLeft='';
                var childTemplateRight='';
                $.each(records, function(i, x){
                    childTemplate += "<tr>"+
                                "<td class='table1_hidden'>"+
                                    "<div class='checkbox-item'>"+
                                        "<label>"+
                                            "<input type='checkbox' name='1'>"+
                                        "</label>"+
                                    "</div>"+
                                "</td>"+
                                "<td class='table1_center table1_hidden'>"+ (i + 1) +"</td>"+
                                "<td>"+ x.code +"</td>"+
                                "<td class='table1_center'>"+ x.dictValue +"</td>"+
                                "<td>"+
                                    "<div class='table1-tag'>"+
                                        " <span>"+(x.isSealed ?'是':'否')+"</span>"+
                                    " </div>"+
                                "</td>"+
                                "<td class='table1_hidden'>"+
                                    "<div class='table1-btn'>"+
                                        "<a href='javascript:;' class='myfancy' data-href='#pop-xitongzidianxiangqingbianji'><i class='icon_dn el-icon-edit'></i>编辑</a>"+
                                        "<a href='javascript:;' class='myfancy' data-href='#pyonghuguanlichakankan'><i class='icon_dn el-icon-delete'></i>删除</a>"+
                                    "</div>"+
                                "</td>"+
                            "</tr>"
                        // 拼接left节点内容    
                        childTemplateLeft += "<tr>"+
                                "<td>"+
                                    "<div class='checkbox-item'>"+
                                        "<label>"+
                                            "<input type='checkbox'  name='childCheckbox' value="+x.id+" onclick='selectCheckBox(this)'>"+
                                        "</label>"+
                                    "</div>"+
                                "</td>"+
                                "<td class='table1_center'>"+ (i + 1) +"</td>"+
                                "<td class='table1_hidden'> "+ x.code +"</td>"+
                                "<td class='table1_hidden'>"+ x.dictValue +"</td>"+
                                "<td class='table1_hidden'>"+
                                    "<div class='table1-tag'>"+
                                        " <span>"+(x.isSealed ?'是':'否')+"</span>"+
                                    " </div>"+
                                "</td>"+
                                "<td class='table1_hidden'>"+
                                    "<div class='table1-btn'>"+
                                        "<a href='javascript:;' class='myfancy' data-href='#pop-xitongzidianxiangqingbianji'><i class='icon_dn el-icon-edit'></i>编辑</a>"+
                                        "<a href='javascript:;' class='myfancy' data-href='#pyonghuguanlichakankan'><i class='icon_dn el-icon-delete'></i>删除</a>"+
                                    "</div>"+
                                "</td>"+
                            "</tr>"
                        // 拼接right节点内容
                        childTemplateRight +=  "<tr>"+
                                "<td class='table1_hidden'>"+
                                    "<div class='checkbox-item'>"+
                                        "<label>"+
                                            "<input type='checkbox' name='1'>"+
                                        "</label>"+
                                    "</div>"+
                                "</td>"+
                                "<td class='table1_center table1_hidden'>"+ (i + 1) +"</td>"+
                                "<td class='table1_hidden'>"+ x.code +"</td>"+
                                "<td class='table1_hidden'>"+ x.dictValue +"</td>"+
                                "<td class='table1_hidden'>"+
                                    "<div class='table1-tag'>"+
                                        " <span>"+(x.isSealed ?'是':'否')+"</span>"+
                                    " </div>"+
                                "</td>"+
                                "<td>"+
                                    "<div class='table1-btn'>"+
                                        "<a onclick='child_edit("+x.id+","+i+")' href='javascript:;' class='myfancy' data-href='#pop-xitongzidianxiangqingbianji'><i class='icon_dn el-icon-edit'></i>编辑</a>"+
                                        "<a onclick='child_dict_delete("+i+",this)' href='javascript:;' class='myfancy' data-href='#pop-shanchu4' ><i class='icon_dn el-icon-delete'></i>删除</a>"+
                                    "</div>"+
                                "</td>"+
                            "</tr>"
                })
                $('#childDictTbody').append(childTemplate);
                $('#childDictTbody_left').append(childTemplateLeft);
                $('#childDictTbody_right').append(childTemplateRight);
            } else {
                $('#childDictTbody').append("<div class='none-data'><p>暂无数据</p></div>");
                $('#childDictTbody_left').append("<div class='none-data'><p>暂无数据</p></div>");
                $('#childDictTbody_right').append("<div class='none-data'><p>暂无数据</p></div>");
            }
        }

        // 分页页码
        function childPageNumInit (childNum) {
        $('#childPageList').children().remove();
        if ( childCurrentPage === 1 &&  childCurrentPage !== childNum) {
            $('#childPageList').append(
                "<li class='pages-prev pages-disable'><a href='javascript:;'><i class='el-icon el-icon-arrow-left'></i></a></li>" +
                getChildPageNum(childNum) +
                "<li class='pages-next' onclick='changeChildPageSize(" + childCurrentSize + "," + (childCurrentPage + 1) + ",this)'><a href='javascript:;'><i class='el-icon el-icon-arrow-right'></i></a></li>"
            );
        }
        else if (childCurrentPage === childNum && childCurrentPage !==1) {
            $('#childPageList').append(
                "<li class='pages-prev' onclick='changeChildPageSize(" + childCurrentSize + "," + (childCurrentPage - 1) + ",this)'><a href='javascript:;'><i class='el-icon el-icon-arrow-left'></i></a></li>" +
                getChildPageNum(childNum) +
                "<li class='pages-next pages-disable'><a href='javascript:;'><i class='el-icon el-icon-arrow-right'></i></a></li>"
            );
        }else if(childCurrentPage===1&&childCurrentPage===childNum){
            $('#childPageList').append(
                "<li class='pages-prev pages-disable'><a href='javascript:;'><i class='el-icon el-icon-arrow-left'></i></a></li>" +
                getChildPageNum(childNum) +
                "<li class='pages-next pages-disable'><a href='javascript:;'><i class='el-icon el-icon-arrow-right'></i></a></li>"
            );
        }else {
            $('#childPageList').append(
                "<li class='pages-prev' onclick='changeChildPageSize(" + childCurrentSize + "," + (childCurrentPage - 1) + ",this)'><a href='javascript:;'><i class='el-icon el-icon-arrow-left'></i></a></li>" +
                getChildPageNum(childNum) +
                "<li class='pages-next' onclick='changeChildPageSize(" + childCurrentSize + "," + (childCurrentPage + 1) + ", this)'><a href='javascript:;'><i class='el-icon el-icon-arrow-right'></i></a></li>"
            );
        }
    }
        // 子数据分页拼接
        function getChildPageNum (num) {
            var result = '';
            for (var i = 0; i < num; i++) {
                if (i === 0 && num===1) {
                    result += "<li class='pages-active' onclick='changeChildCurrentPage(1,this)'><a href='javascript:;'>1</a></li>";
                }
                else {
                    result += "<li class='"+(childCurrentPage===i+1?'pages-active':'')+"' onclick='changeChildCurrentPage("+(i+1)+",this)'><a href='javascript:;'>" + (i + 1) + "</a></li>";
                }
            }
            return result;
        }
        // 分页页码
        function pageNumInit (num) {
            $('#pageList').children().remove();
            if (currentPage === 1 && currentPage !==num) {
                $('#pageList').append(
                    "<li class='pages-prev pages-disable'><a href='javascript:;'><i class='el-icon el-icon-arrow-left'></i></a></li>" +
                    getPageNum(num) +
                    "<li class='pages-next' onclick='changePageSize(" + currentSize + "," + (currentPage + 1) + ",this)'><a href='javascript:;'><i class='el-icon el-icon-arrow-right'></i></a></li>"
                );
            }
            else if (currentPage === num && currentPage !==1) {
                $('#pageList').append(
                    "<li class='pages-prev' onclick='changePageSize(" + currentSize + "," + (currentPage - 1) + ",this)'><a href='javascript:;'><i class='el-icon el-icon-arrow-left'></i></a></li>" +
                    getPageNum(num) +
                    "<li class='pages-next pages-disable'><a href='javascript:;'><i class='el-icon el-icon-arrow-right'></i></a></li>"
                );
            }else if(currentPage===1&&currentPage===num){
                $('#pageList').append(
                    "<li class='pages-prev pages-disable'><a href='javascript:;'><i class='el-icon el-icon-arrow-left'></i></a></li>" +
                    getPageNum(num) +
                    "<li class='pages-next pages-disable'><a href='javascript:;'><i class='el-icon el-icon-arrow-right'></i></a></li>"
                );
            }else {
            $('#pageList').append(
                "<li class='pages-prev' onclick='changePageSize(" + currentSize + "," + (currentPage - 1) + ",this)'><a href='javascript:;'><i class='el-icon el-icon-arrow-left'></i></a></li>" +
                getPageNum(num) +
                "<li class='pages-next' onclick='changePageSize(" + currentSize + "," + (currentPage + 1) + ", this)'><a href='javascript:;'><i class='el-icon el-icon-arrow-right'></i></a></li>"
            );
        }
        }

        // 分页拼接
        function getPageNum (num) {
            var result = '';
            for (var i = 0; i < num; i++) {
                if (i === 0 && num===1) {
                    result += "<li class='pages-active' onclick='changeCurrentPage(1,this)'><a href='javascript:;'>1</a></li>";
                }
                else {
                    result += "<li class='"+(currentPage===i+1?'pages-active':'')+"' onclick='changeCurrentPage("+(i+1)+",this)'><a href='javascript:;'>" + (i + 1) + "</a></li>";
                }
            }
            return result;
        }

        // 改变每页条数
        function changePageSize (size, pageNo, current) {
            var page = pageNo ? pageNo : $('#pageNum').val() ? $('#pageNum').val() : 1;
            currentSize = size ? size : 10;
            currentPage = Number(page);
            getData();
            pageNumInit(num);
        }
        // 改变页码
        function changeCurrentPage(pageNo,e){
            $(e).addClass("pages-active").siblings().removeClass('pages-active')
            currentPage = Number(pageNo);
            getData();
        }

        // 手动跳转到某页
        function jumpPage(){
            var pageNo = $('#pageNum').val() ? $('#pageNum').val() : currentPage
            currentPage = Number(pageNo);
            getData();
        }
        
        // 改变每页条数
        function changeChildPageSize (size, pageNo, current) {
            var page = pageNo ? pageNo : $('#childPageNum').val() ? $('#childPageNum').val() : 1;
            childCurrentSize = size ? size : 10;
            childCcurrentPage = Number(page);
            getChildList();
            childPageNumInit(childNum);
        }
        // 改变页码
        function changeChildCurrentPage(pageNo,e){
            $(e).addClass("pages-active").siblings().removeClass('pages-active')
            childCurrentPage = Number(pageNo)
            getChildList();
        }
        // 手动跳转到某页
        function jumpChildPage(){
            var pageNo = $('#childPageNum').val() ? $('#childPageNum').val() : childCurrentPage
            childCurrentPage = Number(pageNo);
            getChildList();
        }

        // 删除弹框
        function dict_delete(index,e){
            var _id = $(e).attr('data-href');
            $(_id).fadeIn("normal");
            $('.pop-bg').addClass('open');
            var id=records[Number(index)].id
            removeList=[id]
        };
        function child_dict_delete(index,e){
            var _id = $(e).attr('data-href');
            $(_id).fadeIn("normal");
            $('.pop-bg').addClass('open');
            var id=childRecords[Number(index)].id
            childRemoveList=[id]
        };
        // 选择全部
        function selectAll(){
            if(isSelectedAll){
                $("input[name='checkbox']").each(function(i,item){
                    item.checked = false
                })
                isSelectedAll = false
            }else{
                $("input[name='checkbox']").each(function(i,item){
                    item.checked = true
                })
                isSelectedAll = true
            }
        }
        // 选择全部子元素
        function selectChildAll(){
            if(isChildSelectedAll){
                $("input[name='childCheckbox']").each(function(i,item){
                    item.checked = false
                })
                isChildSelectedAll = false
            }else{
                $("input[name='childCheckbox']").each(function(i,item){
                    item.checked = true
                })
                isChildSelectedAll = true
            }
        }
        // 行checkbox选择
        function selectCheckBox(e){
            if($(e).attr("checked")){
                $(e).attr("checked",false).parent().removeClass("formrel01-chk__checked")
            }else{
                $(e).attr("checked",true).parent().addClass("formrel01-chk__checked")
            }
        }
        // 批量删除
        $("#batch_delete").click(function(e){
            removeList=[]
            $("input[name='checkbox']:checked").each(function (index, item) {
                removeList.push($(item).val());
            });
        })
        // 批量删除子元素
        $("#child_batch_delete").click(function(e){
            childRemoveList=[]
            $("input[name='childCheckbox']:checked").each(function (index, item) {
                childRemoveList.push($(item).val());
            });
        })
        // 删除
        function remove(num){
            var ids = Number(num)===3?removeList.join():childRemoveList.join()
            $request({
                url: requestUrl + '/dict/remove?ids='+ids,
                method: 'post',
                data: {
                    ids: ids
                },
                contentType: 'application/x-www-form-urlencoded;charset=UTF-8'
            },function(){
                getData();
                $("#pop-shanchu"+num).fadeOut("normal");
                $('.pop-bg').removeClass('open');
                getChildList()
            })
        }
        // 左侧新增按钮
        function add(){
            $("#pop-xitongzidianxinzeng").fadeIn("normal");
            $('.pop-bg').addClass('open');
            $("#add_code").val('')
        };
        // 左侧编辑弹框回显
        function edit(id,index){
            $("#pop-xitongzidianbianji").fadeIn("normal");
            $('.pop-bg').addClass('open');
            $request({
                url: requestUrl + '/dict/detail?id='+records[index].id,
                method: 'get'
            }, function(res) {
                editObj = res
                $("#edit_code").val(res.code);
                $("#edit_dictValue").val(res.dictValue);
                $("#edit_sort").val(res.sort);
                $("#edit_isSealed").val(res.isSealed);
                $("#edit_remark").val(res.remark);
                if(res.isSealed){
                    $("#edit_isSealed").parent().addClass("formrel01-chk__checked")
                }
            })
        };

        // 左侧新增
        function add_submit(){
            var add_code = $("#add_code").val();
            var add_dictValue = $("#add_dictValue").val();
            var add_sort = $("#add_sort").val();
            var add_remark = $("#add_remark").val();
            var add_isSealed = $("#add_isSealed").is(":checked") ? 1 : 0;;
            $request({
                url: requestUrl + '/dict/submit',
                method: 'post',
                data:JSON.stringify({
                    code:add_code,
                    dictValue:add_dictValue,
                    sort:add_sort,
                    remark:add_remark,
                    isSealed:add_isSealed,
                    dictKey: -1
              
                }),
                contentType: 'application/json;charset=UTF-8'
                },function(res){
                    $("#pop-xitongzidianxinzeng").fadeOut("normal");
                    $('.pop-bg').removeClass('open');
                    getData();
                    $("#add_code").val('');
                    $("#add_dictValue").val('');
                    $("#add_sort").val('');
                    $("#add_remark").val('');
                    $("#add_isSealed").attr("checked",false);
                    $("#add_isSealed").parent().removeClass("formrel01-chk__checked")
                })
        }

        // 左侧编辑
        function edit_submit(){
            var edit_code = $("#edit_code").val();
            var edit_dictValue = $("#edit_dictValue").val();
            var edit_sort = $("#edit_sort").val();
            var edit_remark = $("#edit_remark").val();
            var edit_isSealed = $("#edit_isSealed").is(":checked") ? 1 : 0;
            editObj.code = edit_code;
            editObj.dictValue = edit_dictValue;
            editObj.sort = edit_sort;
            editObj.remark = edit_remark;
            editObj.isSealed = edit_isSealed;
            $request({
                url: requestUrl + '/dict/submit',
                method: 'post',
                data:JSON.stringify(editObj),
                contentType: 'application/json;charset=UTF-8'
                },function(res){
                    $("#pop-xitongzidianbianji").fadeOut("normal");
                    $('.pop-bg').removeClass('open');
                    getData();
                    $("#edit_code").val('');
                    $("#edit_dictValue").val('');
                    $("#edit_sort").val('');
                    $("#edit_remark").val('');
                    $("#edit_isSealed").attr("checked",false);
                    $("#edit_isSealed").parent().removeClass("formrel01-chk__checked")
                })
        }

        // 新增弹框
        function child_add(id,index){
            $("#pop-xitongzidianxiangqingxinzeng").fadeIn("normal");
            $('.pop-bg').addClass('open');
            console.log("currentRecordIndex",currentRecordIndex)
            if(currentRecordIndex!==''){
                $("#child_add_code").val(records[currentRecordIndex].code);
                $("#child_add_parentId").val(records[currentRecordIndex].id);
                $("#child_add_parentName").html(records[currentRecordIndex].dictValue).parent().parent().addClass('doneTit');
            }

        };
        // 编辑弹框
        function child_edit(id,index){
            $("#pop-xitongzidianxiangqingbianji").fadeIn("normal");
            $('.pop-bg').addClass('open');
            $request({
                url: requestUrl + '/dict/detail?id='+childRecords[index].id,
                method: 'get'
            }, function(res) {
                subEditObj = res;
                $("#child_edit_code").val(res.code);
                $("#child_edit_dictValue").val(res.dictValue);
                $("#child_edit_dictKey").val(res.dictKey);
                $("#child_edit_sort").val(res.sort);
                $("#child_edit_remarks").val(res.remark);
                $("#child_edit_parentId").val(records[currentRecordIndex].id);
                $("#child_edit_parentName").html(records[currentRecordIndex].dictValue).parent().parent().addClass('doneTit');
                $("#child_edit_isSealed").val(res.isSealed);
                if(res.isSealed){
                    $("#child_edit_isSealed").parent().addClass("formrel01-chk__checked")
                }
            })
        };
        
        //新增
        function child_add_submit(){
            var child_add_code = $("#child_add_code").val();
            var child_add_dictValue = $("#child_add_dictValue").val();
            var child_add_dictKey = $("#child_add_dictKey").val();
            var child_add_sort = $("#child_add_sort").val();
            var child_add_remarks = $("#child_add_remarks").val();
            var child_add_isSealed = $("#child_add_isSealed").is(":checked") ? 1 : 0;
            $request({
                url: requestUrl + '/dict/submit',
                method: 'post',
                data:JSON.stringify({
                    code:child_add_code,
                    dictKey:child_add_dictKey,
                    dictValue:child_add_dictValue,
                    sort:child_add_sort,
                    remark:child_add_remarks,
                    isSealed:child_add_isSealed,
                    parentId:currentRecordId,
                }),
                contentType: 'application/json;charset=UTF-8'
                },function(res){
                    $("#pop-xitongzidianxiangqingxinzeng").fadeOut("normal");
                    $('.pop-bg').removeClass('open');
                    getChildList();
                    $("#child_add_code").val('');
                    $("#child_add_dictValue").val('');
                    $("#child_add_dictKey").val('');
                    $("#child_add_sort").val('');
                    $("#child_add_remarks").val('');
                    $("#child_add_isSealed").attr("checked",false);
                    $("#child_add_isSealed").parent().removeClass("formrel01-chk__checked")
                })
        }

        //编辑
        function child_edit_submit(){
            var child_edit_code = $("#child_edit_code").val();
            var child_edit_dictValue = $("#child_edit_dictValue").val();
            var child_edit_sort = $("#child_edit_sort").val();
            var child_edit_remarks = $("#child_edit_remarks").val();
            var child_edit_isSealed = $("#child_edit_isSealed").is(":checked") ? 1 : 0;
            var child_edit_dictKey = $("#child_edit_dictKey").val();
            subEditObj.code = child_edit_code;
            subEditObj.dictKey = child_edit_dictKey;
            subEditObj.dictValue = child_edit_dictValue;
            subEditObj.sort = child_edit_sort;
            subEditObj.remark = child_edit_remarks;
            subEditObj.isSealed = child_edit_isSealed;
            subEditObj.parentId = currentRecordId;
            $request({
                url: requestUrl + '/dict/submit',
                method: 'post',
                data:JSON.stringify(subEditObj),
                contentType: 'application/json;charset=UTF-8'
                },function(res){
                    $("#pop-xitongzidianxiangqingbianji").fadeOut("normal");
                    $('.pop-bg').removeClass('open');
                    getChildList();
                    $("#child_edit_code").val('');
                    $("#child_edit_dictValue").val('');
                    $("#child_edit_sort").val('');
                    $("#child_edit_remarks").val('');
                    $("#child_edit_isSealed").attr("checked",false);
                    $("#child_edit_dictKey").val('');
                    $("#child_edit_isSealed").parent().removeClass("formrel01-chk__checked")
                })
        }


        getData()

    </script>
</body>

</html>